home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3fiber.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.7 KB  |  130 lines

  1.  
  2. // JavaScript wrapper for r3fiber.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_FIBER_H = 1;
  7. include("real/objects/r3level.js")
  8.  
  9.  
  10. var R3CLID_FIBER = 682;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3FIBERA_OrientationU = 682500;
  19. function SetR3FIBERA_OrientationU(value) {
  20.   R3Set(this.r3obj, R3FIBERA_OrientationU, value, R3TID_INTEGER, 0); 
  21. }
  22.  
  23. function GetR3FIBERA_OrientationU() {
  24.   return R3Get(this.r3obj, R3FIBERA_OrientationU, R3TID_INTEGER, 0); 
  25. }
  26.  
  27. R3FIBERA_OrientationV = 682501;
  28. function SetR3FIBERA_OrientationV(value) {
  29.   R3Set(this.r3obj, R3FIBERA_OrientationV, value, R3TID_INTEGER, 0); 
  30. }
  31.  
  32. function GetR3FIBERA_OrientationV() {
  33.   return R3Get(this.r3obj, R3FIBERA_OrientationV, R3TID_INTEGER, 0); 
  34. }
  35.  
  36. R3FIBERA_CurveCount = 682502;
  37. function SetR3FIBERA_CurveCount(value) {
  38.   R3Set(this.r3obj, R3FIBERA_CurveCount, value, R3TID_INTEGER, 0); 
  39. }
  40.  
  41. function GetR3FIBERA_CurveCount() {
  42.   return R3Get(this.r3obj, R3FIBERA_CurveCount, R3TID_INTEGER, 0); 
  43. }
  44.  
  45. R3FIBERA_PointCount = 682503;
  46. function SetR3FIBERA_PointCount(value) {
  47.   R3Set(this.r3obj, R3FIBERA_PointCount, value, R3TID_INTEGER, 0); 
  48. }
  49.  
  50. function GetR3FIBERA_PointCount() {
  51.   return R3Get(this.r3obj, R3FIBERA_PointCount, R3TID_INTEGER, 0); 
  52. }
  53.  
  54. R3FIBERA_Displacement = 682504;
  55. function SetR3FIBERA_Displacement(value) {
  56.   R3Set(this.r3obj, R3FIBERA_Displacement, value, R3TID_FLOAT, 0); 
  57. }
  58.  
  59. function GetR3FIBERA_Displacement() {
  60.   return R3Get(this.r3obj, R3FIBERA_Displacement, R3TID_FLOAT, 0); 
  61. }
  62.  
  63. R3FIBERA_DisplacementClid = 682505;
  64. function SetR3FIBERA_DisplacementClid(value) {
  65.   R3Set(this.r3obj, R3FIBERA_DisplacementClid, value, R3TID_INTEGER, 0); 
  66. }
  67.  
  68. function GetR3FIBERA_DisplacementClid() {
  69.   return R3Get(this.r3obj, R3FIBERA_DisplacementClid, R3TID_INTEGER, 0); 
  70. }
  71.  
  72. R3FIBERA_DisplacementRnd = 682506;
  73. function SetR3FIBERA_DisplacementRnd(value) {
  74.   R3Set(this.r3obj, R3FIBERA_DisplacementRnd, value, R3TID_FLOAT, 0); 
  75. }
  76.  
  77. function GetR3FIBERA_DisplacementRnd() {
  78.   return R3Get(this.r3obj, R3FIBERA_DisplacementRnd, R3TID_FLOAT, 0); 
  79. }
  80.  
  81. R3FIBERA_DisplacementChannel = 682507;
  82. function SetR3FIBERA_DisplacementChannel(value) {
  83.   R3Set(this.r3obj, R3FIBERA_DisplacementChannel, value, R3TID_STRING, 0); 
  84. }
  85.  
  86. function GetR3FIBERA_DisplacementChannel() {
  87.   return R3Get(this.r3obj, R3FIBERA_DisplacementChannel, R3TID_STRING, 0); 
  88. }
  89.  
  90. R3FIBERA_TargetID = 1225419278;
  91. function SetR3FIBERA_TargetID(value) {
  92.   R3Set(this.r3obj, R3FIBERA_TargetID, value, R3TID_INTEGER, 0); 
  93. }
  94.  
  95. function GetR3FIBERA_TargetID() {
  96.   return R3Get(this.r3obj, R3FIBERA_TargetID, R3TID_INTEGER, 0); 
  97. }
  98.  
  99.  
  100.  
  101. function r3Fiber () { 
  102.    this.base = r3God;
  103.    if(arguments.length) {
  104.       this.base(R3CLID_FIBER, arguments);
  105.    }
  106.    // Methods
  107.  
  108.    // Attributes
  109.    this.GetOrientationU=GetR3FIBERA_OrientationU;
  110.    this.SetOrientationU=SetR3FIBERA_OrientationU;
  111.    this.GetOrientationV=GetR3FIBERA_OrientationV;
  112.    this.SetOrientationV=SetR3FIBERA_OrientationV;
  113.    this.GetCurveCount=GetR3FIBERA_CurveCount;
  114.    this.SetCurveCount=SetR3FIBERA_CurveCount;
  115.    this.GetPointCount=GetR3FIBERA_PointCount;
  116.    this.SetPointCount=SetR3FIBERA_PointCount;
  117.    this.GetDisplacement=GetR3FIBERA_Displacement;
  118.    this.SetDisplacement=SetR3FIBERA_Displacement;
  119.    this.GetDisplacementClid=GetR3FIBERA_DisplacementClid;
  120.    this.SetDisplacementClid=SetR3FIBERA_DisplacementClid;
  121.    this.GetDisplacementRnd=GetR3FIBERA_DisplacementRnd;
  122.    this.SetDisplacementRnd=SetR3FIBERA_DisplacementRnd;
  123.    this.GetDisplacementChannel=GetR3FIBERA_DisplacementChannel;
  124.    this.SetDisplacementChannel=SetR3FIBERA_DisplacementChannel;
  125.    this.GetTargetID=GetR3FIBERA_TargetID;
  126.    this.SetTargetID=SetR3FIBERA_TargetID;
  127. }
  128.  
  129. r3Fiber.prototype=new r3Level;
  130. // r3fiber.h_H